package com.lipeng.mapper;

import com.lipeng.bean.Club;
import com.lipeng.bean.Game;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GameMapper {
    int deleteByPrimaryKey(Integer gid);

    int insert(Game record);

    int insertSelective(Game record);

    Game selectByPrimaryKey(Integer gid);

    int updateByPrimaryKeySelective(Game record);

    int updateByPrimaryKey(Game record);

    List<Game> selectAllGame();

    List<Game> selectGameByName(@Param("name") String name);
}